package com.zhangh.summer.admin.support.ds.rocketmq.common;

/**
 * @description: TODO
 * @author: zhanghui  zhanghlucky@163.com
 * @create: 2021-07-03 22:37
 **/
public enum SendTypeEnum {
    SYN(1,"同步"),
    ASYNCHRONOUS(2,"异步"),
    ONE_WAY(3,"单向发送");
    SendTypeEnum(int value, String name){
        this.value=value;
        this.name=name;
    }
    private final int value;
    private final String name;

    public int getValue(){ return value;
    }

    public String getName(){
        return name;
    }
}
